//
//  ViewController.h
//  A One POS
//
//  Created by AonePOS on 24/09/13.
//  Copyright (c) 2013 AonePOS. All rights reserved.
//

#import <UIKit/UIKit.h>
@interface ViewController : UIViewController<UITextFieldDelegate,NSURLConnectionDataDelegate,UIWebViewDelegate>

{
    
    UIImageView *logoimageview,*logobackview,*passwordleftview,*usernameleftview;
    UIView *backgroundcolorview;
    UITextField *username_text,*password_text;
    UIButton *login_button;
    _Bool isLandScope;
     int y;
   
    NSString *dataBasePath;
    NSString *username,*password;
    NSURLConnection *connection1,*PendimgConnection,*RegisterConnection,*loginConnection;
    NSMutableData *responseData,*PendingResponseData,*RegisterResponseData,*loginResponseData;
    NSMutableDictionary *dataDict;
    
    UIImageView *HomeImageView;
    UILabel *sationLbl,*Timelbl;
    UIButton *FileBtn;
  //file view
    
    UIView *filepopupView,*FilebackView;
    UIButton *ExitFileBtn,*AboutBtn,*RegisterBtn;

//about view
    
    UIView *Aboutpopup;
    UIScrollView    *AboutbackView;
    UIImageView *logoImageView;
    UIButton *ViewLiceseBtn;
    
    UILabel *Titlelbl,*subtitlelbl;
    UITextView *Abouttextlbl,*ViewLicencetextview;
    UIButton *OkAboutBtn;
    

  //Register View
    UIView *RegisterpopUp;
    UIScrollView *RegisterView;
    UIImageView *ReglogoImageView;
    UILabel *RegTitlelbl,*Regsubtitlelbl;
    UIButton *RegisterNowBtn,*ReglaterBtn;
    
    UILabel *Namelbl,*Emaillbl,*PhNumberlbl,*Companynamelbl;
    UITextField *NameField,*EmailField,*PhNumberField,*CompanynameField;
    
 //Licence View
    UIView *Licencepopup;
    UIScrollView *LicenceView;
    UIWebView *LicenceWebView;
    UIButton *AceeptBtn,*CancelBtn;
    
 
     
     
    //Profile *Profileview;
  
    
}
-(void)releaseViews;
@property (nonatomic, retain) UIImage *theImage;
@end
